package com.rico.deploy.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "user")
public class User {

  @Column(name = "id")
  @Id
  private Integer id;

  @Column(name = "username")
  private String username;

  @Column(name = "name")
  private String name;

  @Column(name = "pinyin_name")
  private String pinyinName;

  @Column(name = "gender")
  private String gender;

  @Column(name = "age")
  private Integer age;

  @Column(name = "college_id")
  private String collegeId;

  @Column(name = "address")
  private String address;

  @Column(name = "phone")
  private String phone;

  @Column(name = "idcard")
  private String idcard;

  @Column(name = "roles_id")
  private String rolesId;

  @Column(name = "checkin_student_time")
  private Date checkinStudentTime;

  @Column(name = "clazz_id")
  private Integer clazzId;

  @Column(name = "major_id")
  private Integer majorId;

  @Column(name = "student_status")
  private String studentStatus;

  @Column(name = "guardian_phone")
  private String guardianPhone;

  @Column(name = "checkin_teacher_time")
  private Date checkinTeacherTime;

  @Column(name = "job_length")
  private Integer jobLength;

  @Column(name = "title")
  private String title;

  @Column(name = "graduated_university")
  private String graduatedUniversity;

  @Column(name = "modify_time")
  private Date modifyTime;

  @Column(name = "release_time")
  private Date releaseTime;



}
